<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!--  <link rel="shortcut icon" href="img/icon1.png" type="image/png"> -->
<link rel="shortcut icon" href="img/icon2.png" type="image/png">
<title>Main login page</title>
</head>
<body>
<%= "param = "+request.getParameter("backto") %> <br />

 					  
<h1>Авторизация</h1>
<form method="post" action="servlettest">
	<input class="uname" type="text" name="username" placeholder="Имя" /> 
	<input class="passwd" type="password" name="userpass" placeholder="Пароль" />
	<input type = "hidden" name = "backto" value =<%= request.getParameter("backto") %>/>
	<input type="submit" value="Войти"/> 
</form> 
</body>
</html>